
import React, { useState } from 'react';
import { Select, Form, Card } from 'antd';
import request from '@/utils/request';
import { useIntl } from 'umi';

export interface ReportProps {
    dataSource?: any,
    designData?: any,
}
const apiURL = "/api/services/app/ERPReports/";
const WhseSelect: React.FC<ReportProps> = (props: ReportProps) => {
    const [dataSource, setDataSource] = useState<any[]>([]);
    const [designData, setDesignData] = useState<any>({});
    const intl = useIntl();
    
    React.useEffect(() => {
        setDataSource(props.dataSource);
        setDesignData(props.designData);
    }, [dataSource,designData])
    return (
        <Card title={intl.formatMessage({ id: 'pages.report.design' })}></Card>
    )
}
export default WhseSelect;